﻿using UnityEngine;
using System;
namespace COC.Tools.Pathing2
{
    public class CTile
    {
        public int index;
        public Vector3 mOrigin { get; set; }
        public byte walkable { get; set; }
        public Transform paint { get; set; }
        public Vector3 parent { get; set; }
        public CTile pre { get; set; }
        public CTile next { get; set; }

        public float h_value { get; set; }
        public float g_value { get; set; }
        public float pointX { get; set; }
        public float pointY { get; set; }

        public CTile(Vector3 origin, Transform paint)
        {
            this.mOrigin = origin;
            this.paint = paint;
        }
        public CTile()
        {

        }
    }
}